html,
body {
  width: 100%;
  height: 100%;
}
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  z-index: 9999;
}
.preloader .spinner {
  width: 60px;
  height: 60px;
  background: #000;
  border-radius: 100%;
  animation: animate-spinner 1.5s infinite;
}
@keyframes animate-spinner {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
#home {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
#home .cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, #c21500, #ffc500);
  opacity: 0.8;
  position: absolute;
  top: 0;
}
#home .container {
  animation-delay: 1s;
  text-align: center;
  color: #fff;
}
#home .container a {
  display: inline-block;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  margin: 30px 0 0 0;
  padding: 10px;
  text-decoration: none;
}
#home .container a:hover {
  color: #c21500;
  background: #fff;
}
.navbar-default {
  margin: 0;
  background: #fff;
}
.navbar-default navbar-brand a {
  font-weight: bold;
}
.navbar-default a:hover {
  color: #c21500 !important;
}
.navbar-default .navbar-nav li.active {
  background: transparent;
  color: #c21500;
}
.navbar-default .navbar-nav li.active a {
  background: transparent;
  color: #c21500;
}
.navbar-default .navbar-nav li.active a:hover {
  background: transparent;
}
.navbar-default .nav-collapse {
  z-index: 100;
}
#introduction {
  padding: 70px 0 0 0;
  width: 100%;
  min-height: 100vh;
  background: #ccc;
}
#introduction img {
  margin: 0 auto;
}
#introduction #myCarousel {
  margin: 0 auto;
  max-width: 80%;
}
#introduction #myCarousel .carousel-control {
  background: none;
}
#introduction #myCarousel .carousel-control:hover {
  background: #000;
  opacity: 0.3;
}
#introduction #myCarousel .carousel-inner {
  overflow: visible;
}
#introduction #myCarousel .carousel-inner .item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
#introduction #myCarousel .carousel-inner .item .item-title {
  top: 100%;
  z-index: 10;
}
#introduction #myCarousel .carousel-inner .item .item-title .item-title-head {
  font-weight: bold;
  text-align: center;
  font-size: 40px;
  padding: 0;
}
#introduction #myCarousel .carousel-inner .item .item-title .item-title-content {
  font-size: 16px;
  padding: 10px 0;
}
#menu {
  background: #fff;
  min-height: 100vh;
}
#menu .menu-popup-item {
  padding: 50px 0;
  text-align: center;
}
#menu .menu-popup-item a.menu-popup-link {
  cursor: pointer;
  display: inline-block;
  padding: 20px;
  font-size: 36px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}
#menu .menu-popup-item a.menu-popup-link img {
  max-width: 100%;
}
#menu .menu-popup-item a.menu-popup-link:hover {
  color: #c21500;
}
#imagelist {
  background: #ccc;
  min-height: 100vh;
}
#imagelist .container #filters:after {
  content: '';
  display: block;
  clear: both;
  width: 0;
  height: 0;
  visibility: hidden;
}
#imagelist .container #filters .filters-item {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  padding: 10px;
  text-align: center;
}
#imagelist .container #filters .filters-item.selected {
  color: #c21500;
}
#imagelist .container .isotope .imagelist-item {
  padding: 15px;
}
#imagelist .container .isotope .imagelist-item img {
  width: 100%;
}
#imagelist .container .isotope .imagelist-item a:hover {
  opacity: 0.6;
}
#about {
  width: 100%;
  height: 200px;
  color: #fff;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#about .author {
  font-size: 30px;
}
#about .contact {
  font-size: 30px;
  position: relative;
  display: flex;
}
#about .contact div {
  margin: 0 30px;
}
#about .contact .github a {
  color: #fff;
  text-decoration: none;
}
#about .contact .github a:hover {
  color: #c21500;
}
#about .contact .mail .icon-mail {
  cursor: pointer;
}
#about .contact .mail .icon-mail:hover {
  color: #c21500;
}
#about .contact .mail .icon-mail:hover + .mail-hide {
  display: block;
}
#about .contact .mail .mail-hide {
  display: none;
  position: absolute;
  top: 45px;
  left: 10px;
}
#about .contact .mail .mail-hide .triangle-top {
  border-width: 15px;
  border-color: transparent transparent #ffffff transparent;
  border-top: 0px;
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  top: -15px;
  left: 78px;
}
#about .contact .mail .mail-hide p {
  font-size: 20px;
  color: #000;
  padding: 5px 20px;
  background: #fff;
}
#about .contact .qq .icon-QQ:hover {
  color: #c21500;
  cursor: pointer;
}
#about .contact .qq .icon-QQ:hover + .qq-hide {
  display: block;
}
#about .contact .qq .qq-hide {
  display: none;
  position: absolute;
  left: 70px;
  top: -40px;
}
#about .contact .qq .qq-hide img {
  max-width: 100px;
}
#about .contact .qq .qq-hide .triangle-right {
  border-width: 15px;
  border-color: transparent transparent transparent #ffffff;
  border-right: 0px;
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  top: 40px;
  left: 100px;
}
.menu-popup-item-content {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}
